table of contents
GIT-FMT-MERGE-MSG(1) | Git Manual | GIT-FMT-MERGE-MSG(1) |
NAME¶
git-fmt-merge-msg - Produce a merge commit message
SYNOPSIS¶
git fmt-merge-msg [-m <message>] [--into-name <branch>] [--log[=<n>] | --no-log] git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] -F <file>
DESCRIPTION¶
Takes the list of merged objects on stdin and produces a suitable commit message to be used for the merge commit, usually to be passed as the <merge-message> argument of git merge.
This command is intended mostly for internal use by scripts automatically invoking git merge.
OPTIONS¶
--log[=<n>]
--no-log
--[no-]summary
-m <message>, --message <message>
--into-name <branch>
-F <file>, --file <file>
CONFIGURATION¶
merge.branchdesc
merge.log
merge.suppressDest
An element with an empty value can be used to clear the list of globs accumulated from previous configuration entries. When there is no merge.suppressDest variable defined, the default value of master is used for backward compatibility.
merge.summary
EXAMPLES¶
$ git fetch origin master $ git fmt-merge-msg --log <$GIT_DIR/FETCH_HEAD
Print a log message describing a merge of the "master" branch from the "origin" remote.
SEE ALSO¶
GIT¶
Part of the git(1) suite
11/20/2023 | Git 2.43.0 |